package com.example.back.service;

import com.example.back.entity.HotSearch;
import com.example.back.mapper.HotSearchMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class HotSearchService {
    @Autowired
    private HotSearchMapper hotSearchMapper;
    public ArrayList<HotSearch> selectUsers(HotSearch hotSearch ){
        return hotSearchMapper.selectUsers(hotSearch);
    }
}
